home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ein
/
sources
/
einlib.lzh
/
LIBSRC.LZH
/
EIN_MEM.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-07-18
|
1KB
|
65 lines
/*<Header>==============================================================
*
* MEMORY / "EIN_MEM.C"
*
* [ EIN(tm) project : âüâéâèè╓ÿAòΓÅòè╓ÉöîQ ]
*
* COPYRIGHT Nam 1994, All rights reserved.
*
*-----------------------------------------------------------------------
* V1.0L01â┐ 94.07.08/Nam âvâìâgâ^âCâv
*</Header>==============================================================*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <snd.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
#include <egb.h>
#include <msdos.cf>
#include <loader.h>
#include <math.h>
#include <io.h>
#include <guidbg.h>
#define EIN_MEM
#include "..\eintm.h"
#ifndef NOERR
#define NOERR (0)
#endif
#ifndef ERROR
#define ERROR (1)
#endif
/*<Func>================================================================
* int EIN_checkMem()
*
* üyèT ùvüz Ägùpë┬ö\é╚âüâéâèâTâCâYé≡ĵô╛é╖éΘ
*
* üyï@ ö\üz
*
* üyôⁿ ù═üz
*
* üyÅo ù═üz é╚é╡
*
* üyè╓ÉöÆlüz byte
*
* üyÆì ê╙üz
*
* üyÄQ Å╞üz
*
*-----------------------------------------------------------------------
* V11L10 1994.07.08/Nam
*</Func>==============================================================*/
int EIN_checkMem()
{
int pmax, lmax;
pmax = TL_checkMemory(0);
lmax = TL_checkMemory(2);
return (((pmax<lmax) ?pmax :lmax) * 4096);
}